﻿using GalaSoft.MvvmLight;
using System;

namespace WPRD.Models
{
    /// <summary>
    /// 系统配置模型
    /// </summary>
    public partial class SystemConfig : ObservableObject
    {
        #region Private Properties
        /// <summary>
        /// 产品数据文件目录
        /// </summary>
        private string _dataDirectory;

        /// <summary>
        /// 质量控制结果输出目录
        /// </summary>
        private string _outputDirectory;
        #endregion

        #region Creator
        /// <summary>
        /// 构造函数
        /// </summary>
        public SystemConfig()
        {

        }
        #endregion

        #region Public Properties
        /// <summary>
        /// 产品数据文件目录
        /// </summary>
        public string DataDirectory
        {
            get
            {
                return _dataDirectory;
            }
            set
            {
                if (value == _dataDirectory)
                    return;
                _dataDirectory = value;
                RaisePropertyChanged("DataDirectory");
            }
        }

        /// <summary>
        /// 质量控制结果输出目录
        /// </summary>
        public string OutputDirectory
        {
            get
            {
                return _outputDirectory;
            }
            set
            {
                if (value == _outputDirectory)
                    return;
                _outputDirectory = value;
                RaisePropertyChanged("OutputDirectory");
            }
        }
        #endregion
    }
}
